package com.jg.xmlSchema2JsonSchema.xsd;

/**
 * @author czg
 */
public class XMLConstants {

    // 默认数据节点，设置为空则认为根目录为默认数据节点
    public static final String ROOT_NAME = "tables";

    // xml编码
    public static final String ENCODING = "UTF-8";

    // xsd默认命名空间,设置为空则没有默认命名空间
    public static final String XSD_DEFAULT_NAMESPACE = "xs";

    // xsd定义的默认数据节点，设置为空则认为根目录为默认数据节点
    public static final String XSD_DEFAULT_DATANODE = "Features";

    // xsd复合类型节点
    public static final String XSD_COMPLEX_TYPE = "complexType";

    // xsd唯一性限制节点
    public static final String XSD_UNIQUE = "unique";

    // xsd属性节点
    public static final String XSD_ATTRIBUTE = "attribute";


    // xsd序列节点
    public static final String XSD_SEQUENCE = "sequence";

    // xsd元素节点
    public static final String XSD_ELEMENT = "element";
    // xsd细目节点
    public static final String XSD_ENUMERATION = "enumeration";
    public static final String XSD_PATTERN = "pattern";


    public static final String XSD_SIMPLETYPE = "simpleType";


    public static final String XSD_EXTENSION = "extension";
    public static final String XSD_COMPLEXCONTENT = "complexContent";
    public static final String XSD_ALL = "all";
    public static final String XSD_WHITESPACE = "whiteSpace";
    public static final String XSD_LENGTH = "length";
    public static final String XSD_MAXLENGTH = "maxLength";
    public static final String XSD_MINLENGTH = "minLength";


    // xsd注解节点
    public static final String XSD_ANNOTATION = "annotation";

    // xsd注解文档节点
    public static final String XSD_DOCUMENTATION = "documentation";

    // xsd 选择器节点
    public static final String XSD_SELECTOR = "selector";

    // xsd 限制范围节点
    public static final String XSD_FIELD = "field";


    // xsd简单类型节点
    public static final String XSD_SIMPLE_TYPE = "simpleType";

    // xsd限制节点
    public static final String XSD_RESTRICTION = "restriction";
    // xsd选择限制节点
    public static final String XSD_CHOICE = "choice";

    // xsd name属性
    public static final String XSD_ATTRIBUTE_NAME = "name";

    // xsd type属性
    public static final String XSD_ATTRIBUTE_TYPE = "type";

    // xsd base属性
    public static final String XSD_ATTRIBUTE_base = "base";


    // 用来描述xsd中的unbounded节点信息
    public static final String XSD_UNBOUNDED = "[unbounded]";

    public static final String XSD_UNBOUNDED_REPLATE = "\\[unbounded\\]";

    public static final String XSL_ELEMENT_FOREACH = "for-each";

    public static final String XSL_ELEMENT_SELECT = "select";

    /**
     * ************ 创建xslt基础变量配置 *******************
     */

    public static final String STYLESHEET = "stylesheet";

    public static final String VERSION = "version";

    public static final String VERSIONNUM = "1.0";

    public static final String NAMESPACE = "xsl";

    public static final String NAMESPACEADDRESS = "http://www.w3.org/1999/XSL/Transform";

    public static final String TEMPLATE = "template";

    public static final String MATCH = "match";

    public static final String APPLYTEMPLATES = "apply-templates";

    public static final String VALUEOF = "value-of";

    public static final String SELECT = "select";

    public static final String XMLENCODING = "UTF-8";

    public static final String ROOTSPER = "/";

    public static final String DOUBELROOTSPER = "//";

    public static final String SPER = ":";


    /**
     * 多个列表类型
     */
    public static final String XS_NMTOKENS = "xs:NMTOKENS";

    /**
     * 列表类型
     */
    public static final String XS_NMTOKEN = "xs:NMTOKEN";

    /**
     * 布尔数据类型
     */
    public static final String XS_boolean = "xs:boolean";
    /**
     * 二进制数据类型
     */
    public static final String XS_hexBinary = "xs:hexBinary";
    /**
     * 数据类型用于规定 URI
     */
    public static final String XS_anyURI = "xs:anyURI";
    /**
     * 字符类型
     */
    public static final String XS_string = "xs:string";
    /**
     * 规范化字符串
     */
    public static final String XS_normalizedString = "xs:normalizedString";

    /**
     * 32位长度整形
     */
    public static final String XS_int = "xs:int";

    /**
     * 无符号整数
     */
    public static final String XS_unsignedInt = "xs:unsignedInt";

    /**
     * 整型
     */
    public static final String XS_integer = "xs:integer";
    /**
     * 负整型
     */
    public static final String XS_negativeInteger = "xs:negativeInteger";
    /**
     * 非负整数
     */
    public static final String XS_nonNegativeInteger = "xs:nonNegativeInteger";
    /**
     * 正整数
     */
    public static final String XS_positiveInteger = "xs:positiveInteger";


    /**
     * 非正整数
     */
    public static final String XS_nonPositiveInteger = "xs:nonPositiveInteger";


    /**
     * 长整形
     */
    public static final String XS_long = "xs:long";

    /**
     * 无符号短整数
     */
    public static final String XS_unsignedShort = "xs:unsignedShort";

    /**
     * 小数类型
     */
    public static final String XS_decimal = "xs:decimal";
    /**
     * 双精度类型
     */
    public static final String XS_double = "xs:double";
    /**
     * 浮点类型
     */
    public static final String XS_float = "xs:float";
    /**
     * 无符号浮点类型
     */
    public static final String XS_unsignedFloat = "xs:unsignedFloat";
    /**
     * 日期类型类型
     */
    public static final String XS_date = "xs:date";
    /**
     * 时间类型
     */
    public static final String XS_time = "xs:time";

    /**
     * 日期时间类型
     */
    public static final String XS_dateTime = "xs:dateTime";
    /**
     * 字节类型
     */
    public static final String XS_byte = "xs:byte";
    /**
     * 无符号字节类型
     */
    public static final String XS_unsignedByte = "xs:unsignedByte";
    /**
     * 任何简单类型
     */
    public static final String XS_anySimpleType = "xs:anySimpleType";
    /**
     * 任何类型
     */
    public static final String XS_anyType = "xs:anyType";
    /**
     * base64二进制类型
     */
    public static final String XS_base64Binary = "xs:base64Binary";
    /**
     * 持久类型
     */
    public static final String XS_duration = "xs:duration";
    /**
     * 布尔数据类型
     */
    public static final String XS_gDay = "xs:gDay";
    /**
     * 令牌
     */
    public static final String XS_token = "xs:token";
    /**
     * 非XML数据格式的文本内容
     */
    public static final String XS_NOTATION = "xs:NOTATION";
    /**
     * 命名空间名称
     */
    public static final String XS_NCName = "xs:NCName";
    /**
     * 限定名称
     */
    public static final String XS_QName = "xs:QName";

}
